package model;
/**
 * *this class is Employee Model  which saves the Employee fields data ,which extends User
 * @author jacob
 *
 */
public class Employee extends User {
	/**user name of Employee */
	private String userName;
	/**password of Employee */
	private String upassword;
	/**status of Employee  */
	private int status;
	/**Position of Employee */
	private int Position;
	/**employee id */
    private int employee_id;
    /**
     * Constructor
     * @param id
     * @param employee_id
     * @param usreName
     * @param upassword
     * @param Position
     * @param status
     */
    public Employee(String id,int employee_id,String usreName, String upassword,int Position, int status){
    	super(id);
    	this.employee_id = employee_id;
    	this.userName = usreName;
    	this.upassword =upassword;
    	this.Position = Position;
    	this.status = status;
    }
    /**
     * full Constructor  
     * @param Uid
     * @param lasttname
     * @param firstname
     * @param phone
     * @param email
     * @param address
     * @param Age
     * @param employee_id
     * @param usreName
     * @param upassword
     * @param Position
     * @param status
     */
    public Employee(String Uid,String lasttname,String firstname,String phone,String email,String address,int Age,int employee_id,String usreName, String upassword,int Position, int status){
    	super(Uid,lasttname,firstname,phone,email,address,Age);
    	this.employee_id = employee_id;
    	this.userName = usreName;
    	this.upassword =upassword;
    	this.Position = Position;
    	this.status = status;
    }
    
 
    /**
     * this constructor is for the purpose of adding to it by set methods only relevant details!!!!
     */
	public Employee() {
		// TODO Auto-generated constructor stub
		super(null);
	}
/**
 * get User Name
 * @return String
 */
	public String getUserName() {
		return userName;
	}
/**
 * get Usre Name
 * @returnString
 */
	public String getUsreName() {
		return userName;
	}
/**
 * set new User Name
 * @param usreName
 */
	public void setUserName(String usreName) {
		this.userName = usreName;
	}
/**
 * get employee password
 * @return String
 */
	public String getUpassword() {
		return upassword;
	}
/**
 * set employee password
 * @param upassword
 */
	public void setUpassword(String upassword) {
		this.upassword = upassword;
	}
/**
 * get Status
 * @return int
 */
	public int getStatus() {
		return status;
	}
/**
 * set new Status
 * @param status
 */
	public void setStatus(int status) {
		this.status = status;
	}
/**
 * get Position
 * @return int
 */
	public int getPosition() {
		return Position;
	}
/**
 * set new Position
 * @param position
 */
	public void setPosition(int position) {
		Position = position;
	}
/**
 * get Employee id
 * @return int
 */
	public int getEmployee_id() {
		return employee_id;
	}
/**
 * set new Employee id
 * @param employee_id
 */
	public void setEmployee_id(int employee_id) {
		this.employee_id = employee_id;
	}
}
